package com.wbb.api;

import com.wbb.model.TbSeller;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("dongdong-seller-service")
public interface SellerAPI {
    @PostMapping("/seller/queryByUsername")
    public TbSeller queryByUsername(@RequestParam String username);
}
